package com.hlhj.funlike_business.presenter;

import android.content.Context;

import com.example.mymvp.mvp.BasePresenter;
import com.hlhj.funlike_business.bean.MsgBean;
import com.hlhj.funlike_business.moudle.ShopNameMoudle;
import com.hlhj.funlike_business.views.ShopNameView;

public class ShopNamePresenter extends BasePresenter<ShopNameMoudle,ShopNameView> implements ShopNameMoudle.getResult {
    @Override
    public void createModule() {
        module=new ShopNameMoudle();
        module.setLisenter(this);
    }


    public void LoadResult(Context context,String shop_name){
        module.LoadResut(context,shop_name);
    }
    @Override
    public void loadResult(MsgBean msgBean) {
        getView().showShopName(msgBean);
    }
}
